package com.yfp.machine.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.util.Date;

/**
 * (MachineLog)实体类
 *
 *
 * @since 2023-12-16 22:48:58
 */
@Schema(title = "设备日志")
public class MachineLog implements Serializable {
    private static final long serialVersionUID = 948236722936895955L;
    /**
     * 机器编号
     */
    @Schema(title = "机器编号")
    private String machineId;
    /**
     * 文件名
     */
    @Schema(title = "文件名")
    private String logFileName;
    /**
     * 文件URL
     */
    @Schema(title = "文件URL")
    private String url;
    /**
     * 创建时间
     */
    @Schema(title = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String recordNo;

    public String getRecordNo() {
        return recordNo;
    }

    public void setRecordNo(String recordNo) {
        this.recordNo = recordNo;
    }

    public String getMachineId() {
        return machineId;
    }

    public void setMachineId(String machineId) {
        this.machineId = machineId;
    }

    public String getLogFileName() {
        return logFileName;
    }

    public void setLogFileName(String logFileName) {
        this.logFileName = logFileName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}

